import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './style.css'
//引入模板的全局的样式
import '@/styles/index.scss'
import App from './App.vue'
//配置element-plus国际化配置
import { zhCn } from 'element-plus/es/locales.mjs'
//svg插件
import 'virtual:svg-icons-register'
import gloablComponent from './components/index';

const app = createApp(App)
//安装element-plus插件
app.use(ElementPlus,{
    locale: zhCn //配置element-plus国际化
} )

console.log(import.meta.env)

app.use(gloablComponent);
//挂载应用
app.mount('#app')
